package request

type AddGoodsReq struct {
	ProductName string  ` form:"product_name" json:"product_name"   binding:"required"`
	Price       float64 ` form:"price" json:"price"   binding:"required"`
	Cover       string  ` form:"cover" json:"cover"   binding:"required"`
	Describe    string  ` form:"describe" json:"describe"   binding:"required"`
}
type ListGoodsReq struct {
	Id          uint   ` form:"id" json:"id" `
	ProductName string ` form:"product_name" json:"product_name" `
}
type ModifyGoodsReq struct {
	Id          uint    ` form:"id" json:"id"   binding:"required"`
	ProductName string  ` form:"product_name" json:"product_name"   binding:"required"`
	Price       float64 ` form:"price" json:"price"   binding:"required"`
	Cover       string  ` form:"cover" json:"cover"   binding:"required"`
	Describe    string  ` form:"describe" json:"describe"   binding:"required"`
}
type DetailsGoodsReq struct {
	Id uint ` form:"id" json:"id"   binding:"required"`
}
type RemoveGoodsReq struct {
	Id uint ` form:"id" json:"id"   binding:"required"`
}
